Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.collaboration.user.registration

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.collaboration.user.registration">

  <require>org.nuxeo.ecm.user.registration.core.types.contrib</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
    <doctype name="SocialRegistration" extends="UserRegistration">
      <facet name="SocialUserRegistration" />
    </doctype>
  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
             point="types">
    <types>
      <type name="SocialRegistration">registrationRequest</type>
    </types>
  </extension>

  <extension target="org.nuxeo.ecm.user.registration.UserRegistrationService"
             point="configuration">
    <configuration name="social_collaboration">
      <requestDocType>SocialRegistration</requestDocType>
      <container>
        <docType>UserRegistrationContainer</docType>
        <parentPath>/collaboration/</parentPath>
        <name>registrationRequests</name>
        <title>Social Collaboration Requests Container</title>
      </container>
      <validationEmail>
        <title>You are invited to access Nuxeo</title>
        <template>skin/views/userRegistration/ValidationEmailTemplate.ftl</template>
      </validationEmail>
      <reviveEmail>
        <title>You are invited to access Nuxeo</title>
        <template>skin/views/userRegistration/ReviveEmailTemplate.ftl</template>
      </reviveEmail>
      <validationRelUrl>site/userRegistration/validate/</validationRelUrl>
      <registrationUserFactory>org.nuxeo.ecm.social.workspace.userregistration.SocialRegistrationUserFactory</registrationUserFactory>
    </configuration>
  </extension>
</component>